/*
 * @Description: 评论mock
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2023-07-05 10:18:09
 * @LastEditTime: 2023-07-05 11:07:19
 */
import { mockMethods } from "../vite.config";
const Prefix = "/api/comment/";

const getCommentsByPage = {
  data: {
    "list|15": [
      {
        username: "@name",
        createTime: "@datetime",
        updateTime: "@datetime",
      },
    ],
    page: 1,
    limit: 10,
    total: 100,
    pageTotal: 10,
  },
};

export default mockMethods(
  {
    getCommentsByPage,
  },
  Prefix
);
